package com.feng.profile.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Lee
 */
@Data
public class UserAddReq implements Serializable {

    @NotNull
    private String userName;

    @NotNull
    private String password;

    @Email
    private String email;

    @Length(min = 11)
    private String mobile;

    private String createUserId;

}
